package com.burns.jdk9.gui.container;/**
 * Created by burns.
 *
 * @author <a href="http://www.esoon-soft.com/">burns</a>
 * @date 2021/11/28 20:25
 */

import java.awt.*;

/**
 * @Description TODO
 * @ClassName PanelDemo
 * @Author Burns
 * @DAte 2021/11/28 20:25
 */
public class PanelDemo {
    public static void main(String[] args) {
        Frame frame = new Frame("这里颜色Panel");
        Panel p = new Panel();
        p.add(new TextField("文本"));
        p.add(new Button("按钮"));
        frame.add(p);
        frame.setBounds(100,100,300,300);
        frame.setVisible(true);
    }
}
